﻿using Origin2.Core;
using Origin2.Framework;
using Origin2Test.Controls;

namespace Origin2Test.GameStates
{
    public class TestState : GameState
    {
        public TestState(IObjectContainer parent) : base(parent)
        {
            var obj = new GameObject(this);
            obj.AddControl("Keyboard Control", new KeyboardMovementControl(obj));
            obj.AddControl("NineTile Control", new NineTileDrawControl(obj));
            AddObject("Test", obj);
        }
    }
}
